-- GENERATED SPELL FOR [Ghostclaw Ravager] --


function spell0_16349(pUnit, Event) --@Exploit Weakness,n/a--
pUnit:FullCastSpellOnTarget(6595,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16349', 0, 1)
end

function Sorts_16349(pUnit, Event)
local choix_sorts_16349 = math.random(0, 0)
if choix_sorts_16349 == 0 then
pUnit:RegisterEvent('spell0_16349', 1, 1)
end
end

function mob16349_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16349', math.random(1500, 3000), 1)
end

function mob16349_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16349_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16349_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16349, 1, 'mob16349_Action')
RegisterUnitEvent(16349, 2, 'mob16349_Leave')
RegisterUnitEvent(16349, 3, 'mob16349_Kill')
RegisterUnitEvent(16349, 4, 'mob16349_Die')
